python manage.py collectstatic

32

$ python manage.py collectstatic --help
STATICFILES_DIRS = [
    BASE_DIR / "static",
    '/var/www/static/',
]
{% load static %}
<img src="{% static "my_app/example.jpg" %}" alt="My image">
...\> py manage.py collectstatic --help

Comments

Submit
0 Comments